﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using wUniApp.Controls;
using wUniApp.WPF.Properties;
using wUniAppPCL.MVVM;


namespace wUniApp.WPF.Data
{
  public class Model : BaseModel
  {
    public Model() : base(new wFileStorage(wFileLocation.AppDirectory), @"Data\Patients.xml", new wMessage() )
    {
      SetPostFixes(Settings.Default.PostFixes);
    }

    static Model _inst;
    public static Model I
    {
      get
      {
        if (_inst == null) _inst = new Model();
        return _inst;
      }
    }
  }
}
